.class Lframent/FramentOrder$6;
.super Ljava/lang/Object;
.source "FramentOrder.java"

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lframent/FramentOrder;->setlistViewonitemlisetnerner()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Landroid/widget/AdapterView$OnItemClickListener;"
    }
.end annotation


# instance fields
.field final synthetic this$0:Lframent/FramentOrder;


# direct methods
.method constructor <init>(Lframent/FramentOrder;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lframent/FramentOrder$6;->this$0:Lframent/FramentOrder;

    .line 1360
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 3
    .param p2, "arg1"    # Landroid/view/View;
    .param p3, "arg2"    # I
    .param p4, "arg3"    # J
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/AdapterView",
            "<*>;",
            "Landroid/view/View;",
            "IJ)V"
        }
    .end annotation

    .prologue
    .line 1366
    .local p1, "arg0":Landroid/widget/AdapterView;, "Landroid/widget/AdapterView<*>;"
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lframent/FramentOrder$6;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->context:Landroid/content/Context;
    invoke-static {v1}, Lframent/FramentOrder;->access$0(Lframent/FramentOrder;)Landroid/content/Context;

    move-result-object v1

    const-class v2, Lcom/example/m6wmr/DishesActivity2;

    .line 1365
    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 1368
    .local v0, "intent":Landroid/content/Intent;
    const-string v2, "goodsid"

    iget-object v1, p0, Lframent/FramentOrder$6;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->goodsls:Ljava/util/ArrayList;
    invoke-static {v1}, Lframent/FramentOrder;->access$10(Lframent/FramentOrder;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lbean/GoodsBean;

    invoke-virtual {v1}, Lbean/GoodsBean;->getId()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 1369
    const-string v1, "shopid"

    iget-object v2, p0, Lframent/FramentOrder$6;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->shopid:Ljava/lang/String;
    invoke-static {v2}, Lframent/FramentOrder;->access$2(Lframent/FramentOrder;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 1371
    const-string v1, "shopname"

    iget-object v2, p0, Lframent/FramentOrder$6;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->shopname:Ljava/lang/String;
    invoke-static {v2}, Lframent/FramentOrder;->access$25(Lframent/FramentOrder;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 1372
    const-string v1, "open"

    iget-object v2, p0, Lframent/FramentOrder$6;->this$0:Lframent/FramentOrder;

    iget-object v2, v2, Lframent/FramentOrder;->open:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 1374
    iget-object v1, p0, Lframent/FramentOrder$6;->this$0:Lframent/FramentOrder;

    # getter for: Lframent/FramentOrder;->context:Landroid/content/Context;
    invoke-static {v1}, Lframent/FramentOrder;->access$0(Lframent/FramentOrder;)Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    .line 1377
    return-void
.end method
